<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>07_BOM操作</title>
</head>
<body>
    <button onclick="alert('警告')">弹出警告框</button>
    <button onclick="confirm('确认要删除此车辆吗？')">弹出确认框</button>
    <script>
        console.log(parseInt(6.6));
        console.log(parseInt('hhh'));
        console.log(parseInt(6));

        console.log(parseFloat(6));
        console.log(parseFloat('6.6'));
        console.log(parseFloat(6.6));
        console.log(parseFloat('hhh'));

        console.log(isNaN('hhh'));
        console.log(isNaN(6.6));
        console.log(isNaN(6));
    </script>
</body>
</html>